Enter the name of the tissue you want to analyze.
tissue_of_interest = "Pancreas"
Install any packages you’re missing.
#install.packages("useful")
#install.packages("ontologyIndex")
#install.packages("here")
Load the requisite packages and some additional helper functions.
library(here)
here() starts at /Users/Y/Documents/Yan/Science/MACA/3month revision/Reannotation/tabula-muris-master
library(useful)
Loading required package: ggplot2
library(Seurat)
package ‘Seurat’ was built under R version 3.4.3Loading required package: cowplot
Attaching package: ‘cowplot’
The following object is masked from ‘package:ggplot2’:
ggsave
Loading required package: Matrix
library(dplyr)
Attaching package: ‘dplyr’
The following object is masked from ‘package:Biobase’:
combine
The following objects are masked from ‘package:BiocGenerics’:
combine, intersect, setdiff, union
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
library(Matrix)
library(ontologyIndex)
cell_ontology = get_ontology('https://raw.githubusercontent.com/obophenotype/cell-ontology/master/cl-basic.obo', extract_tags='everything')
validate_cell_ontology = function(cell_ontology_class){
in_cell_ontology = sapply(cell_ontology_class, function(x) is.element(x, cell_ontology$name) || is.na(x))
if (!all(in_cell_ontology)) {
message = paste0('"', cell_ontology_class[!in_cell_ontology], '" is not in the cell ontology\n')
stop(message)
}
}
convert_to_cell_ontology_id = function(cell_ontology_class){
return(sapply(cell_ontology_class, function(x) {
if(is.na(x)){
x
}else{
as.vector(cell_ontology$id[cell_ontology$name == x])[1]
}
}))
}
# Load the per-plate metadata
plate_metadata_filename = here('00_data_ingest', '00_facs_raw_data', 'metadata_FACS.csv')
plate_metadata <- read.csv(plate_metadata_filename, sep=",", header = TRUE)
colnames(plate_metadata)[1] <- "plate.barcode"
plate_metadata
Load the read count data.
# Load the gene names and set the metadata columns by opening the first file
filename = here('00_data_ingest', '00_facs_raw_data', 'FACS', paste0(tissue_of_interest, '-counts.csv'))
raw.data = read.csv(filename, sep=",", row.names=1)
corner(raw.data)
Make a vector of plate barcodes for each cell
plate.barcodes = lapply(colnames(raw.data), function(x) strsplit(strsplit(x, "_")[[1]][1], '.', fixed=TRUE)[[1]][2])
Make per-cell metadata, and reorder the raw data by plate for consistency. Make a plate barcode dataframe to “expand” the per-plate metadata to be per-cell.
barcode.df = t.data.frame(as.data.frame(plate.barcodes))
rownames(barcode.df) = colnames(raw.data)
colnames(barcode.df) = c('plate.barcode')
head(barcode.df)
plate.barcode
B21.MAA000574.3_8_M.1.1 "MAA000574"
D12.MAA000574.3_8_M.1.1 "MAA000574"
B22.MAA000574.3_8_M.1.1 "MAA000574"
D13.MAA000574.3_8_M.1.1 "MAA000574"
C1.MAA000574.3_8_M.1.1 "MAA000574"
D14.MAA000574.3_8_M.1.1 "MAA000574"
rnames = row.names(barcode.df)
head(rnames)
[1] "B21.MAA000574.3_8_M.1.1" "D12.MAA000574.3_8_M.1.1" "B22.MAA000574.3_8_M.1.1" "D13.MAA000574.3_8_M.1.1"
[5] "C1.MAA000574.3_8_M.1.1" "D14.MAA000574.3_8_M.1.1"
meta.data <- merge(barcode.df, plate_metadata, by='plate.barcode', sort = F)
row.names(meta.data) <- rnames
head(meta.data)
# Sort cells by plate barcode because that's how the data was originally
meta.data = meta.data[order(rownames(meta.data)), ]
corner(meta.data)
raw.data = raw.data[, rownames(meta.data)]
corner(raw.data)
Process the raw data and load it into the Seurat object.
# Find ERCC's, compute the percent ERCC, and drop them from the raw data.
erccs <- grep(pattern = "^ERCC-", x = rownames(x = raw.data), value = TRUE)
percent.ercc <- Matrix::colSums(raw.data[erccs, ])/Matrix::colSums(raw.data)
ercc.index <- grep(pattern = "^ERCC-", x = rownames(x = raw.data), value = FALSE)
raw.data <- raw.data[-ercc.index,]
# Create the Seurat object with all the data
tiss <- CreateSeuratObject(raw.data = raw.data, project = tissue_of_interest,
min.cells = 1, min.genes = 0)
tiss <- AddMetaData(object = tiss, meta.data)
tiss <- AddMetaData(object = tiss, percent.ercc, col.name = "percent.ercc")
# Change default name for sums of counts from nUMI to nReads
colnames(tiss@meta.data)[colnames(tiss@meta.data) == 'nUMI'] <- 'nReads'
# Create metadata columns for cell_ontology_class
tiss@meta.data[,'free_annotation'] <- NA
tiss@meta.data[,'cell_ontology_class'] <- NA
Calculate percent ribosomal genes.
ribo.genes <- grep(pattern = "^Rp[sl][[:digit:]]", x = rownames(x = tiss@data), value = TRUE)
percent.ribo <- Matrix::colSums(tiss@raw.data[ribo.genes, ])/Matrix::colSums(tiss@raw.data)
tiss <- AddMetaData(object = tiss, metadata = percent.ribo, col.name = "percent.ribo")
A sanity check: genes per cell vs reads per cell.
GenePlot(object = tiss, gene1 = "nReads", gene2 = "nGene", use.raw=T)
Filter out cells with few reads and few genes.
tiss <- FilterCells(object = tiss, subset.names = c("nGene", "nReads"), low.thresholds = c(500, 50000))
Normalize the data, then center and scale.
tiss <- NormalizeData(object = tiss, scale.factor = 1e6)
Performing log-normalization
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
tiss <- ScaleData(object = tiss)
[1] "Scaling data matrix"
|
| | 0%
|
|================================================================================================================| 100%
tiss <- FindVariableGenes(object = tiss, do.plot = TRUE, x.high.cutoff = Inf, y.cutoff = 0.5)
Calculating gene means
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Calculating gene variance to mean ratios
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Run Principal Component Analysis.
tiss <- RunPCA(object = tiss, do.print = FALSE)
tiss <- ProjectPCA(object = tiss, do.print = FALSE)
Later on (in FindClusters and TSNE) you will pick a number of principal components to use. This has the effect of keeping the major directions of variation in the data and, ideally, supressing noise. There is no correct answer to the number to use, but a decent rule of thumb is to go until the plot plateaus.
PCElbowPlot(object = tiss)
Choose the number of principal components to use.
# Set number of principal components.
n.pcs = 12
The clustering is performed based on a nearest neighbors graph. Cells that have similar expression will be joined together. The Louvain algorithm looks for groups of cells with high modularity–more connections within the group than between groups. The resolution parameter determines the scale. Higher resolution will give more clusters, lower resolution will give fewer.
For the top-level clustering, aim to under-cluster instead of over-cluster. It will be easy to subset groups and further analyze them below.
# Set resolution
res.used <- 0.5
tiss <- FindClusters(object = tiss, reduction.type = "pca", dims.use = 1:n.pcs,
resolution = res.used, print.output = 0, save.SNN = TRUE)
We use TSNE solely to visualize the data.
# If cells are too spread out, you can raise the perplexity. If you have few cells, try a lower perplexity (but never less than 10).
tiss <- RunTSNE(object = tiss, dims.use = 1:n.pcs, seed.use = 10, perplexity=30)
TSNEPlot(object = tiss, do.label = T, pt.size = 1.2, label.size = 4)
Check expression of genes useful for indicating cell type. For the islet cells, the mRNA for their specific secretory molecule is a strong signal.
general endocrine: Chga, Isl1 alpha: Gcg, Mafb, Arx, beta: Ins1, Ins2, Mafa, Nkx6-1, Slc2a2, gamma: Ppy delta: Sst, Hhex epsilon: Ghrl ductal: Krt19, Hnf1b immune: Ptprc stellate: Pdgfra, Pdgfrb endothelial: Pecam1, Cdh5, Kdr acinar: Amy2b, Cpa1 other genes of interest: Cpa1, Ptf1a, Neurog3(endocrine progenitor and perhaps adult delta),Pdx1(beta and delta)
Dotplots let you see the intensity of expression and the fraction of cells expressing for each of your genes of interest. The radius shows you the percent of cells in that cluster with at least one read sequenced from that gene. The color level indicates the average Z-score of gene expression for cells in that cluster, where the scaling is done over all cells in the sample.
We can also find all differentially expressed genes marking each cluster. This may take some time.
rr #clust.markers0 <- FindMarkers(object = tiss, ident.1 = 0, only.pos = TRUE, min.pct = 0.25, thresh.use = 0.25) #tiss.markers <- FindAllMarkers(object = tiss, only.pos = TRUE, min.pct = 0.25, thresh.use = 0.25)
Display the top markers you computed above.
rr #tiss.markers %>% group_by(cluster) %>% top_n(5, avg_diff)
Using the markers above, we can confidentaly label many of the clusters:
0: beta 3: acinar 4: ductal 6: beta 7: endothelial 8: immune 9: stellate
The abundance of Ppy and Gcg in clusters 1 and 2 makes them seem like mixtures of alpha and gamma cells. The expression of Sst and Hhex in cluster 5 indicates that it might contain many delta cells, but to get a finer resolution, we subset the data and recompute.
We will add those cell_ontology_class to the dataset.
tiss <- StashIdent(object = tiss, save.name = "cluster.ids")
cluster.ids <- c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
free_annotation <- c(
"beta cell",
NA,
NA,
"acinar cell",
"ductal cell",
NA,
"beta cell",
"endothelial cell",
"immune cell",
"stellate cell")
cell_ontology_class <-c(
"type B pancreatic cell",
NA,
NA,
"pancreatic acinar cell",
"pancreatic ductal cell",
NA,
"type B pancreatic cell",
"endothelial cell",
"leukocyte",
"pancreatic stellate cell")
validate_cell_ontology(cell_ontology_class)
cell_ontology_id = convert_to_cell_ontology_id(cell_ontology_class)
tiss@meta.data['free_annotation'] <- as.character(plyr::mapvalues(x = tiss@ident, from = cluster.ids, to = free_annotation))
validate_cell_ontology(cell_ontology_class)
cell_ontology_id = convert_to_cell_ontology_id(cell_ontology_class)
tiss@meta.data['cell_ontology_class'] <- as.character(plyr::mapvalues(x = tiss@ident, from = cluster.ids, to = cell_ontology_class))
tiss@meta.data['cell_ontology_id'] <- as.character(plyr::mapvalues(x = tiss@ident, from = cluster.ids, to = cell_ontology_id))
Color by metadata, like plate barcode, to check for batch effects.
TSNEPlot(object = tiss, do.return = TRUE, group.by = "plate.barcode")
subtiss = SubsetData(tiss, ident.use = c(1,2,5))
subtiss <- subtiss %>% ScaleData() %>%
FindVariableGenes(do.plot = TRUE, x.high.cutoff = Inf, y.cutoff = 0.5) %>%
RunPCA(do.print = FALSE)
[1] "Scaling data matrix"
|
| | 0%
|
|================================================================================================================| 100%
Calculating gene means
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Calculating gene variance to mean ratios
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
PCHeatmap(object = subtiss, pc.use = 1:3, cells.use = 500, do.balanced = TRUE, label.columns = FALSE, num.genes = 8)
PCElbowPlot(subtiss)
sub.n.pcs = 8
sub.res.use = 1
subtiss <- subtiss %>% FindClusters(reduction.type = "pca", dims.use = 1:sub.n.pcs,
resolution = sub.res.use, print.output = 0, save.SNN = TRUE) %>%
RunTSNE(dims.use = 1:sub.n.pcs, seed.use = 10, perplexity=30)
TSNEPlot(object = subtiss, do.label = T, pt.size = 1.2, label.size = 4)
All cells have the same value of Ptf1a.
VlnPlot(subtiss, 'Ppy')
table(subtiss@ident)
Discover new PP marker genes (negative or positive)
gamma_markers = FindMarkers(subtiss, ident.1 = c(6,7), ident.2 = c(0,1,2,4), test.use = "roc")
gamma_markers = FindMarkers(subtiss, ident.1 = c(6,7), ident.2 = c(0,1,2,4), test.use = "wilcox")
| | 0 % ~calculating
|+ | 1 % ~01m 42s
|++ | 2 % ~01m 37s
|++ | 3 % ~01m 33s
|+++ | 4 % ~01m 32s
|+++ | 5 % ~01m 30s
|++++ | 6 % ~01m 28s
|++++ | 7 % ~01m 27s
|+++++ | 8 % ~01m 29s
|+++++ | 9 % ~01m 29s
|++++++ | 10% ~01m 28s
|++++++ | 11% ~01m 26s
|+++++++ | 12% ~01m 25s
|+++++++ | 13% ~01m 24s
|++++++++ | 14% ~01m 22s
|++++++++ | 15% ~01m 21s
|+++++++++ | 16% ~01m 21s
|+++++++++ | 17% ~01m 21s
|++++++++++ | 18% ~01m 21s
|++++++++++ | 19% ~01m 19s
|+++++++++++ | 20% ~01m 18s
|+++++++++++ | 21% ~01m 17s
|++++++++++++ | 22% ~01m 16s
|++++++++++++ | 23% ~01m 14s
|+++++++++++++ | 24% ~01m 13s
|+++++++++++++ | 25% ~01m 12s
|++++++++++++++ | 26% ~01m 11s
|++++++++++++++ | 27% ~01m 10s
|+++++++++++++++ | 28% ~01m 09s
|+++++++++++++++ | 29% ~01m 08s
|++++++++++++++++ | 30% ~01m 07s
|++++++++++++++++ | 31% ~01m 06s
|+++++++++++++++++ | 32% ~01m 05s
|+++++++++++++++++ | 33% ~01m 04s
|++++++++++++++++++ | 34% ~01m 03s
|++++++++++++++++++ | 35% ~01m 02s
|+++++++++++++++++++ | 36% ~01m 01s
|+++++++++++++++++++ | 37% ~60s
|++++++++++++++++++++ | 38% ~59s
|++++++++++++++++++++ | 39% ~58s
|+++++++++++++++++++++ | 40% ~57s
|+++++++++++++++++++++ | 41% ~56s
|++++++++++++++++++++++ | 42% ~55s
|++++++++++++++++++++++ | 43% ~54s
|+++++++++++++++++++++++ | 44% ~53s
|+++++++++++++++++++++++ | 45% ~53s
|++++++++++++++++++++++++ | 46% ~52s
|++++++++++++++++++++++++ | 47% ~51s
|+++++++++++++++++++++++++ | 48% ~50s
|+++++++++++++++++++++++++ | 49% ~49s
|++++++++++++++++++++++++++ | 51% ~48s
|++++++++++++++++++++++++++ | 52% ~47s
|+++++++++++++++++++++++++++ | 53% ~46s
|+++++++++++++++++++++++++++ | 54% ~45s
|++++++++++++++++++++++++++++ | 55% ~44s
|++++++++++++++++++++++++++++ | 56% ~43s
|+++++++++++++++++++++++++++++ | 57% ~42s
|+++++++++++++++++++++++++++++ | 58% ~41s
|++++++++++++++++++++++++++++++ | 59% ~40s
|++++++++++++++++++++++++++++++ | 60% ~39s
|+++++++++++++++++++++++++++++++ | 61% ~38s
|+++++++++++++++++++++++++++++++ | 62% ~37s
|++++++++++++++++++++++++++++++++ | 63% ~36s
|++++++++++++++++++++++++++++++++ | 64% ~35s
|+++++++++++++++++++++++++++++++++ | 65% ~34s
|+++++++++++++++++++++++++++++++++ | 66% ~33s
|++++++++++++++++++++++++++++++++++ | 67% ~32s
|++++++++++++++++++++++++++++++++++ | 68% ~31s
|+++++++++++++++++++++++++++++++++++ | 69% ~30s
|+++++++++++++++++++++++++++++++++++ | 70% ~29s
|++++++++++++++++++++++++++++++++++++ | 71% ~28s
|++++++++++++++++++++++++++++++++++++ | 72% ~27s
|+++++++++++++++++++++++++++++++++++++ | 73% ~26s
|+++++++++++++++++++++++++++++++++++++ | 74% ~25s
|++++++++++++++++++++++++++++++++++++++ | 75% ~24s
|++++++++++++++++++++++++++++++++++++++ | 76% ~23s
|+++++++++++++++++++++++++++++++++++++++ | 77% ~22s
|+++++++++++++++++++++++++++++++++++++++ | 78% ~21s
|++++++++++++++++++++++++++++++++++++++++ | 79% ~20s
|++++++++++++++++++++++++++++++++++++++++ | 80% ~20s
|+++++++++++++++++++++++++++++++++++++++++ | 81% ~19s
|+++++++++++++++++++++++++++++++++++++++++ | 82% ~18s
|++++++++++++++++++++++++++++++++++++++++++ | 83% ~17s
|++++++++++++++++++++++++++++++++++++++++++ | 84% ~16s
|+++++++++++++++++++++++++++++++++++++++++++ | 85% ~15s
|+++++++++++++++++++++++++++++++++++++++++++ | 86% ~14s
|++++++++++++++++++++++++++++++++++++++++++++ | 87% ~13s
|++++++++++++++++++++++++++++++++++++++++++++ | 88% ~12s
|+++++++++++++++++++++++++++++++++++++++++++++ | 89% ~11s
|+++++++++++++++++++++++++++++++++++++++++++++ | 90% ~10s
|++++++++++++++++++++++++++++++++++++++++++++++ | 91% ~09s
|++++++++++++++++++++++++++++++++++++++++++++++ | 92% ~08s
|+++++++++++++++++++++++++++++++++++++++++++++++ | 93% ~07s
|+++++++++++++++++++++++++++++++++++++++++++++++ | 94% ~06s
|++++++++++++++++++++++++++++++++++++++++++++++++ | 95% ~05s
|++++++++++++++++++++++++++++++++++++++++++++++++ | 96% ~04s
|+++++++++++++++++++++++++++++++++++++++++++++++++ | 97% ~03s
|+++++++++++++++++++++++++++++++++++++++++++++++++ | 98% ~02s
|++++++++++++++++++++++++++++++++++++++++++++++++++| 99% ~01s
|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 01m 36s
write.csv(gamma_markers, file="~/Desktop/gamma_markers_wilcox.csv")
New markers from this test include 1) negative marker genes, aka. those abscent in PP cells or highly abundant in alpha cells ‘Arg1’, ‘Mafb’, ‘Gfra3’, ‘Slc38a5’, ‘Dpp10’,‘Ang’,‘Irx1’, 2) positive marker genes, aka. those abscent in alpha cells or highly abundant in PP cells ‘Cd9’, ‘Spp1’, ‘Tspan8’, ‘Folr1’,‘Vsig1’
gamma_genes_to_check_neg = c('Arg1', 'Mafb', 'Gfra3', 'Slc38a5', 'Dpp10','Ang','Irx1')
gamma_genes_to_check_pos = c('Cd9', 'Spp1', 'Tspan8', 'Folr1','Vsig1')
DotPlot(subtiss, gamma_genes_to_check_neg, col.max = 2.5, plot.legend = T, do.return = T) + coord_flip()
DotPlot(subtiss, gamma_genes_to_check_pos, col.max = 2.5, plot.legend = T, do.return = T) + coord_flip()
From these genes, it appears that the clusters represent:
0: alpha 1: alpha 2: alpha 3: delta 4: alpha 5: delta 6: gamma 7: gamma
The multitude of clusters of each type correspond mostly to individual animals/sexes.
table(FetchData(subtiss, c('mouse.id','ident')) %>% droplevels())
ident
mouse.id 0 1 2 3 4 5 6 7
3_10_M 113 8 1 29 0 12 11 0
3_38_F 4 15 81 6 0 19 0 11
3_39_F 2 80 3 2 0 19 0 21
3_8_M 8 1 0 44 74 7 32 0
sub.cluster.ids <- c(0, 1, 2, 3, 4, 5, 6, 7)
sub.free_annotation <- c("pancreatic A cell", "pancreatic A cell", "pancreatic A cell", "pancreatic D cell", "pancreatic A cell", "pancreatic D cell", "pancreatic PP cell", "pancreatic PP cell")
sub.cell_ontology_class <-c("pancreatic A cell", "pancreatic A cell", "pancreatic A cell", "pancreatic D cell", "pancreatic A cell", "pancreatic D cell", "pancreatic PP cell", "pancreatic PP cell")
validate_cell_ontology(sub.cell_ontology_class)
sub.cell_ontology_id = convert_to_cell_ontology_id(sub.cell_ontology_class)
subtiss@meta.data['free_annotation'] <- as.character(plyr::mapvalues(x = subtiss@ident, from = sub.cluster.ids, to = sub.free_annotation))
validate_cell_ontology(sub.cell_ontology_class)
sub.cell_ontology_id = convert_to_cell_ontology_id(sub.cell_ontology_class)
subtiss@meta.data['free_annotation'] <- as.character(plyr::mapvalues(x = subtiss@ident, from = sub.cluster.ids, to = sub.free_annotation))
subtiss@meta.data['cell_ontology_class'] <- as.character(plyr::mapvalues(x = subtiss@ident, from = sub.cluster.ids, to = sub.cell_ontology_class))
subtiss@meta.data['cell_ontology_id'] <- as.character(plyr::mapvalues(x = subtiss@ident, from = sub.cluster.ids, to = sub.cell_ontology_id))
sub.cells = rownames(subtiss@meta.data)
tiss@meta.data[sub.cells, 'free_annotation'] = subtiss@meta.data[,'free_annotation']
tiss@meta.data[sub.cells, 'cell_ontology_class'] = subtiss@meta.data[,'cell_ontology_class']
tiss@meta.data[sub.cells, 'cell_ontology_id'] = subtiss@meta.data[,'cell_ontology_id']
Color by metadata, like plate barcode, to check for batch effects.
TSNEPlot(object = tiss, do.return = TRUE, group.by = "plate.barcode")
Color by cell ontology class on the original TSNE.
TSNEPlot(object = tiss, do.return = TRUE, group.by = "cell_ontology_class")
table(tiss@meta.data[["cell_ontology_class"]])
endothelial cell leukocyte pancreatic A cell pancreatic acinar cell
66 54 390 182
pancreatic D cell pancreatic ductal cell pancreatic PP cell pancreatic stellate cell
138 161 75 49
type B pancreatic cell
449
filename = here('00_data_ingest', '04_tissue_robj_generated',
paste0("facs", tissue_of_interest, "_seurat_tiss.Robj"))
print(filename)
[1] "/Users/Y/Documents/Yan/Science/MACA/3month revision/Reannotation/tabula-muris-master/00_data_ingest/04_tissue_robj_generated/facsPancreas_seurat_tiss.Robj"
save(tiss, file=filename)
So that Biohub can easily combine all your cell_ontology_class, please export them as a simple csv.
head(tiss@meta.data)
filename = here('00_data_ingest', '03_tissue_annotation_csv',
paste0(tissue_of_interest, "_annotation.csv"))
write.csv(FetchData(tiss, c('plate.barcode','cell_ontology_class','cell_ontology_id', 'free_annotation', 'tSNE_1', 'tSNE_2')), file=filename)
FetchData(subtiss, c('Ppy', 'Gcg', 'Arx', 'Irx2', 'Mafb', 'mouse.id', 'plate.barcode', 'ident')) %>%
ggplot(aes(x = Ppy, y = Gcg, color = plate.barcode)) + geom_point()
gammatiss <- RunPCA(subtiss, pc.genes = c('Arg1', 'Mafb', 'Gfra3', 'Slc38a5', 'Dpp10','Ang','Irx1', 'Cd9', 'Spp1', 'Tspan8', 'Folr1','Vsig1'), pcs.compute = 3)
[1] "PC1"
[1] "Mafb" "Ang" "Gfra3" "Irx1" "Dpp10" "Slc38a5" "Arg1" "Cd9" "Vsig1" "Spp1" "Folr1"
[12] "Tspan8"
[1] ""
[1] "Tspan8" "Folr1" "Spp1" "Vsig1" "Cd9" "Arg1" "Slc38a5" "Dpp10" "Irx1" "Gfra3" "Ang"
[12] "Mafb"
[1] ""
[1] ""
[1] "PC2"
[1] "Cd9" "Spp1" "Vsig1" "Mafb" "Irx1" "Ang" "Gfra3" "Slc38a5" "Folr1" "Tspan8" "Dpp10"
[12] "Arg1"
[1] ""
[1] "Arg1" "Dpp10" "Tspan8" "Folr1" "Slc38a5" "Gfra3" "Ang" "Irx1" "Mafb" "Vsig1" "Spp1"
[12] "Cd9"
[1] ""
[1] ""
[1] "PC3"
[1] "Slc38a5" "Spp1" "Folr1" "Gfra3" "Arg1" "Ang" "Tspan8" "Cd9" "Dpp10" "Mafb" "Irx1"
[12] "Vsig1"
[1] ""
[1] "Vsig1" "Irx1" "Mafb" "Dpp10" "Cd9" "Tspan8" "Ang" "Arg1" "Gfra3" "Folr1" "Spp1"
[12] "Slc38a5"
[1] ""
[1] ""
PCHeatmap(object = gammatiss, pc.use = 1:3, cells.use = 500, do.balanced = TRUE, label.columns = FALSE, num.genes = 8)
GenePlot(subtiss, 'Vsig1', 'Gfra3')